﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Drawing;

namespace DigitalAnts.MasterPage
{
	public partial class UserLayout : System.Web.UI.MasterPage
	{
		protected void Page_Load(object sender, EventArgs e)
		{
            
		}

        #region --- Change Avatar Hyperlink Props

        public bool ChangeAvatarHyperLink
        {
            get { return ucUserSidebar.ChangeAvatar; }
            set
            {
                if (value == false)
                    ucUserSidebar.ChangeAvatar = false;
                else
                    ucUserSidebar.ChangeAvatar = true;

            }

        }

        public Color ChangeAvatarHyperLinkColor
        {
            get { return ucUserSidebar.ChangeAvatarColor; }
            set { ucUserSidebar.ChangeAvatarColor = value; }
        }

        public bool UnabelChangeAvatarHyplerLinkUnderline
        {
            get { return ucUserSidebar.ChangeAvatardUnderline; }
            set
            {
                if (value == false)
                    ucUserSidebar.ChangeAvatardUnderline = false;
                else
                    ucUserSidebar.ChangeAvatardUnderline = true;
            }
        }

        #endregion --- 

        #region --- UserInfo Hyperlink Props

        public bool UserInfoHyperLink
        {
            get { return ucUserSidebar.UserInfo; }
            set
            {
                if (value == false)
                    ucUserSidebar.UserInfo = false;
                else
                    ucUserSidebar.UserInfo = true;

            }

        }

        public Color UserInfoHyperLinkColor
        {
            get { return ucUserSidebar.UserInfoColor; }
            set { ucUserSidebar.UserInfoColor = value; }
        }

        public bool UnabelUserInfoHyplerLinkUnderline
        {
            get { return ucUserSidebar.UserInfoUnderline; }
            set
            {
                if (value == false)
                    ucUserSidebar.UserInfoUnderline = false;
                else
                    ucUserSidebar.UserInfoUnderline = true;
            }
        }

        #endregion --- 

        #region --- Add Product Hyperlink Props

        public bool AddProductHyperLink
        {
            get { return ucUserSidebar.AddProduct; }
            set
            {
                if (value == false)
                    ucUserSidebar.AddProduct = false;
                else
                    ucUserSidebar.AddProduct = true;

            }

        }

        public Color AddProductHyperLinkColor
        {
            get { return ucUserSidebar.AddProductColor; }
            set { ucUserSidebar.AddProductColor = value; }
        }

        public bool UnabelAddProductHyplerLinkUnderline
        {
            get { return ucUserSidebar.AddProductUnderline; }
            set
            {
                if (value == false)
                    ucUserSidebar.AddProductUnderline = false;
                else
                    ucUserSidebar.AddProductUnderline = true;
            }
        }

        #endregion --- 

        #region --- ProductList Hyperlink Props

        public bool ProductList
        {
            get { return ucUserSidebar.ProductList; }
            set
            {
                if (value == false)
                    ucUserSidebar.ProductList = false;
                else
                    ucUserSidebar.ProductList = true;

            }

        }

        public Color ProductListHyperLinkColor
        {
            get { return ucUserSidebar.ProductListColor; }
            set { ucUserSidebar.ProductListColor = value; }
        }

        public bool UnabelProductListHyplerLinkUnderline
        {
            get { return ucUserSidebar.ProductListUnderline; }
            set
            {
                if (value == false)
                    ucUserSidebar.ProductListUnderline = false;
                else
                    ucUserSidebar.ProductListUnderline = true;
            }
        }

        #endregion --- 

        #region --- UserPage Hyperlink Props
        
        public bool UserPageHyperLink
        {
            get { return ucUserSidebar.UserPage; }
            set 
            {
                if (value == false)
                    ucUserSidebar.UserPage = false;
                else
                    ucUserSidebar.UserPage = true;
            
            }

        }

        public Color UserPageHyperLinkColor
        {
            get { return ucUserSidebar.UserPageColor; }
            set { ucUserSidebar.UserPageColor = value; }
        }

        public bool UnabelUserPageHyplerLinkUnderline
        {
            get { return ucUserSidebar.UserPageUnderline; }
            set 
            {
                if (value == false)
                    ucUserSidebar.UserPageUnderline = false;
                else
                    ucUserSidebar.UserPageUnderline = true;
            }
        }
        
        #endregion --- 

        #region --- ChangePassword hyperlink
        public bool ChangePassword
        {
            get { return ucUserSidebar.ChangePasswordHyperlink; }
            set
            {
                if (value == false)
                    ucUserSidebar.ChangePasswordHyperlink = false;
                else
                    ucUserSidebar.ChangePasswordHyperlink = true;

            }

        }

        public Color ChangePasswordColor
        {
            get { return ucUserSidebar.ChangePasswordColor; }
            set { ucUserSidebar.ChangePasswordColor = value; }
        }

        public bool UnabelChangePasswordUnderline
        {
            get { return ucUserSidebar.ChangePasswordUnderline; }
            set
            {
                if (value == false)
                    ucUserSidebar.ChangePasswordUnderline = false;
                else
                    ucUserSidebar.ChangePasswordUnderline = true;
            }
        }
        
        #endregion ---
    }
}